package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/15.
 */
@Entity
public class StorageStatistic implements Serializable {
    private static final long serialVersionUID = -6194205186097842808L;
    @Id
    private long id;
    @Property
    private Float totalIn;
    @Property
    private Float totalOut;
    @Property
    private Integer totalOutTimes;
    @Property
    private Integer todayOutTimes;
    @Property
    private Float todayOut;
    @Property
    private Float currStorage;
    @Property
    private Float currPrice;
    @Property
    private Date time;
    public Date getTime() {
        return this.time;
    }
    public void setTime(Date time) {
        this.time = time;
    }
    public Float getCurrPrice() {
        return this.currPrice;
    }
    public void setCurrPrice(Float currPrice) {
        this.currPrice = currPrice;
    }
    public Float getCurrStorage() {
        return this.currStorage;
    }
    public void setCurrStorage(Float currStorage) {
        this.currStorage = currStorage;
    }
    public Float getTodayOut() {
        return this.todayOut;
    }
    public void setTodayOut(Float todayOut) {
        this.todayOut = todayOut;
    }
    public Integer getTodayOutTimes() {
        return this.todayOutTimes;
    }
    public void setTodayOutTimes(Integer todayOutTimes) {
        this.todayOutTimes = todayOutTimes;
    }
    public Integer getTotalOutTimes() {
        return this.totalOutTimes;
    }
    public void setTotalOutTimes(Integer totalOutTimes) {
        this.totalOutTimes = totalOutTimes;
    }
    public Float getTotalOut() {
        return this.totalOut;
    }
    public void setTotalOut(Float totalOut) {
        this.totalOut = totalOut;
    }
    public Float getTotalIn() {
        return this.totalIn;
    }
    public void setTotalIn(Float totalIn) {
        this.totalIn = totalIn;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 952565107)
    public StorageStatistic(long id, Float totalIn, Float totalOut,
            Integer totalOutTimes, Integer todayOutTimes, Float todayOut,
            Float currStorage, Float currPrice, Date time) {
        this.id = id;
        this.totalIn = totalIn;
        this.totalOut = totalOut;
        this.totalOutTimes = totalOutTimes;
        this.todayOutTimes = todayOutTimes;
        this.todayOut = todayOut;
        this.currStorage = currStorage;
        this.currPrice = currPrice;
        this.time = time;
    }
    @Generated(hash = 10428484)
    public StorageStatistic() {
    }
}
